package polymorphic1;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * @classname:Monster
 * @description:
 * @author: Mr.Z
 * @date: 2020/11/29 19:03
 * @version: 0.1
 * @since:1.8
 */
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
public class Monster {
    private String name;
    private String hp;
    private String attack;
    private String defense;
    public  void attack(){
    }
    public  void move(){
    }

}
